<?php 
	include_once 'thuvienham.php';
	include_once 'buoihocdukien_db.php';

	class buoihocdukien_bs 
	{
		//------------------Fields [3]------------------
			// #0
		private $MaLopHoc = "";
		public function SetMaLopHoc($MaLopHoc)       { $this->MaLopHoc = $MaLopHoc;       }
		public function GetMaLopHoc()                { return $this->MaLopHoc;            }
			// #1
		private $NgayHoc = "0000-00-00";
		public function SetNgayHoc($NgayHoc)         { $this->NgayHoc = $NgayHoc;         }
		public function GetNgayHoc()                 { return $this->NgayHoc;             }
			// #2
		private $MaTrangThai = -1;
		public function SetMaTrangThai($MaTrangThai) { $this->MaTrangThai = $MaTrangThai; }
		public function GetMaTrangThai()             { return $this->MaTrangThai;         }

		//------------------Method------------------
		public function Them()
		{
			$data = new buoihocdukien_db();
			return $data->Them($this->MaLopHoc, $this->NgayHoc, $this->MaTrangThai);
		}

		public function Xoa()
		{
			$data = new buoihocdukien_db();
			return $data->Xoa($this->MaLopHoc);
		}

		public function CapNhat()
		{
			$data = new buoihocdukien_db();
			return $data->CapNhat($this->MaLopHoc, $this->NgayHoc, $this->MaTrangThai);
		}

		public function LayDanhSach()
		{
			$data = new buoihocdukien_db();
			return $data->LayDanhSach($this->MaLopHoc, $this->NgayHoc, $this->MaTrangThai);
		}

	}

